package cn.tedu.tmall.front.mall.dao.persist.repository.impl;

import cn.tedu.tmall.front.mall.dao.persist.mapper.OrderItemMapper;
import cn.tedu.tmall.front.mall.dao.persist.repository.IOrderItemRepository;
import cn.tedu.tmall.front.mall.pojo.entity.OrderItem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderItemRepositoryImpl implements IOrderItemRepository {
    @Autowired
    private OrderItemMapper mapper;
    @Override
    public int insert(OrderItem orderItem) {
        return mapper.insert(orderItem);
    }
}
